package com.ies.dx.dex.file;

import java.io.DataInputStream;

import com.ies.dx.util.Input;

public class method_annotation extends dex_item
{
    private int method_idx; // uint   
    private int annotations_off; // uint   
        
    private annotation_set_item annotations;
    
    public method_annotation(dex_file file)
    {
        super(file);
    }

    public void readData(Input dis)
    {
        try
        {
            dis.moveCursorTo(annotations_off);
            annotations = new annotation_set_item(mFile);
            annotations.read(dis);
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
        
    }

    public void read(DataInputStream dis)
    {
        try
        {
            method_idx = dis.readInt();
            annotations_off = dis.readInt();
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }

    public void read(Input dis)
    {
        
    }

    public void show()
    {
        
    }

    public String getData()
    {
        return null;
    }
}
